Ext.define('Accounting.view.ResourceList', {
    extend: 'Ext.Container',
    xtype: 'resources',
    Requires: [
        'Ext.Toolbar',
        'Ext.List',
        'Ext.Panel'
    ],
    config: {
        title: 'Resources',
        layout: 'fit',
        items: [
            {
                xtype: 'panel',
                layout: 'vbox',
                items: [{
                        xtype: 'toolbar',
                        title: {
                            title: 'Resources',
                            style: 'text-align: left'
                        }
                        
                    },
                    {
                        xtype: 'list',
                        store: 'Resources',
                        itemTpl: '{resourceName}',
                        onItemDisclosure: true,
                        flex : 1
                    }
                ]

            }

        ]
    }
});
